obj-m := hello.o 

KERNELDIR ?= /lib/modules/`uname -r`/build
PWD := $(shell pwd) 

default:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules

clean:
	KBUILD_NOPEDANTIC=1 make -C $(KERNELDIR) M=`pwd` clean

inst:
	cp hello.ko /usr/armfs/home/nico
